GraphicsFormats package for Buoy

RawPngExporter Class

A class to Export RawBitmap’s to a PNG format. The result can be written to a File or Bytes buffer.

This class uses RawBitmap that is defined in the RawBitmap package instead of Buoy Pictures.

This class will also include ICC Color Profile if the RawBitmap had ICC Color profile on it.

The RawPngExporter can export images with either 8 bit per channel or 16 bit per channel, maintaining full precision.

Import: EinhugurGraphicsFormats.RawPng

Object
   RawPngExporter

class RawPngExporter

Constructors

RawPngExporterConstructor that takes no parameters.

Properties

AuthorWrites to the Author metadata field which is for name of image's creator
CompressionLevelSets compression level (0 - 9)
CopyrightWrites to the Copyright metadata field which is for copyright notice
DescriptionWrites to the description metadata field.
DisclaimerWrites to the disclaimer metadata field which is for legal disclaimer for the image.
GammaUse this property to alter the default Gamma values for the Export.
IgnoreAlphaChannelIf set to true then the alpha channel in a image is not imported if the image has an alpha channel.
shared InformationShared function to get information about the file format.
SoftwareWrites to the Software metadata field which is for name of the software used to create the image
SourceWrites to the Source metadata field which is for name of the device used to create the image
TitleWrites to the Title metadata field which is for short one line title for image
WarningWrites to the Warning metadata field which is for warnings of nature of content

Methods

SaveToBytesExports a picture formatted as PNG to a Bytes buffer.
SaveToFileExports a RawBitmap to a PNG file.

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 64 bit
  • Linux ARM 64 bit